package com.wjk.kylin.modules.system.schedule.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjk.kylin.modules.system.schedule.entity.Schedule;


/**
 * <p>
 *  定时任务 服务类
 * </p>
 *
 * @author wangjkui
 * @since 2020-06-04
 */
public interface IScheduleService extends IService<Schedule> {

    IPage<Schedule> findPage(Page<Schedule> page, Schedule schedule);

    boolean save(Schedule schedule);

    boolean update(Schedule schedule);

    boolean deleteByIds(String[] scheduleIds);

    void run(String scheduleId);

    boolean changeStatus(String scheduleId, String status);
}
